﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Vit.Database.Schema
{
    public class ColumnSchemaInfo
    {
        public string SchemaName { get; set; }
        public string OwnerName { get; set; }
        public TabularObjectType ObjectType { get; set; }
        public string ObjectName { get; set; }
        public string ObjectDescription { get; set; }
        public string ColumnName { get; set; }
        public string ColumntDescription { get; set; }
        public int ColumnOrder { get; set; }
        public string NativeType { get; set; }
        public bool AllowDBNull { get; set; }
        public int? Size { get; set; }
        public int? Scale { get; set; }
        public byte? Precision { get; set; }
        public bool IsIdentity { get; set; }
        public string PrimaryKeyName { get; set; }
        public int? PrimaryKeyOrder { get; set; }
        public string ForeignKeyName { get; set; }
        public string ForeignKeySchemaName { get; set; }
        public string ForeignKeyTableName { get; set; }
        public string ForeignKeyColumnName { get; set; }
        public string ForeignKeyColumnOrder { get; set; }
    }
}
